package su.samlib.informer;

import android.app.Activity;
import android.content.Intent;

import java.util.Timer;
import java.util.TimerTask;
import android.os.Bundle;
import su.samlib.informer.MainMenuActivity;


public class SplashActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash_activity);
        Timer wait = new Timer();
        wait.schedule(
        		new TimerTask(){
        			public void run(){
        				doRun();
        			}
        		},
        		2000);
    }
    private void doRun(){
		startActivity(new Intent(this,MainMenuActivity.class));
		finish();
    }
}